#include "moreactionwidget.h"
#include "ui_moreactionwidget.h"

MoreActionWidget::MoreActionWidget(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::MoreActionWidget)
{
    ui->setupUi(this);
    data = new QList< QMap<QString, QString> >();
}

MoreActionWidget::~MoreActionWidget()
{
    delete data;
    delete ui;
}

void MoreActionWidget::paintEvent(QPaintEvent *)
{
    QStyleOption opt;
    opt.init(this);
    QPainter p(this);
    style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
}

void MoreActionWidget::setDisplayText(const QString &text)
{
    ui->MoreLabel->setText(text);
}
